﻿using System;

using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace RFWMS
{
    public partial class Frm002 : Form
    {
        public Frm002()
        {
            InitializeComponent();
        }

        private void btn01_Click(object sender, EventArgs e)
        {
            string strControlName = ((Button)sender).Name;
            switch (strControlName)
            { 
                case "btn01":
                    Frm101 frm101 = new Frm101();
                    frm101.Show();
                    this.Close();
                    break;
                case "btn02":
                    Frm201 frm201 = new Frm201();
                    frm201.Show();
                    this.Close();
                    break;
                case "btn03":
                    Frm301 frm301 = new Frm301();
                    frm301.Show();
                    this.Close();
                    break;
                case "btn04":
                    Frm401 frm401 = new Frm401();
                    frm401.Show();
                    this.Close();
                    break;
            }
        }

       
    }
}